<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="Search.Search,java.sql.*" %>
<%
	Search search = new Search();
	ResultSet rs = null;
	int type = Integer.parseInt(request.getParameter("type"));
	System.out.print(type);
	if(type == 1){
		rs = search.SearchGridKind();
	}else{
		rs = search.SearchRoverKind();
	}
	while(rs.next()){
%>
		<option value="<%=rs.getString(1) %>"><%=rs.getString(1) %></option>
<%
	}
%>